<template>
	<div class="content-footer">
		<p>{{num}} operations </p>
		<p> Double-click to edit a todo </p>
	</div>
</template>

<script>
import bus from './assets/eventbus'

export default {
  name: 'divfooter',
  data: function () {
    return {
    	num:0,
    }
  },
  mounted(){
  	let self = this;
  	bus.$on("operationnumber", function(num){
  		self.num = num;
  	});

  }
}
</script>

<style>

</style>
